export default function OperationHook(state: Base.GeneraDataType) {
  const { dialogOpts, passData } = state;

  const setDriverHandle = () => {
    dialogOpts.title = `配置出仓司机`;
    dialogOpts.width = "500px";
    dialogOpts.component = "SetDirver";
    dialogOpts.passData = passData.value;
    dialogOpts.visible = true;
  };

  return {
    setDriverHandle
  };
}
